﻿@model IEnumerable<AuditModel.ExpertJudge>

@{
    ViewBag.Title = AuditResources.UI.PageTitle;
    Layout = "~/Views/Shared/Admin/_EventSettingLayout.cshtml";
    
}

<h2><text>学科组</text>@AuditResources.ExpertJudge.ObjectName<text>首页</text></h2>

<p>
    @Html.ActionLink(AuditResources.UI.Create, "Create", new { id = ViewBag.AnnualEventId }, new { @class="button"})
</p>

<!--Import-->
@using (Html.BeginForm("Import", "ExpertJudge", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    <text>批量导入：</text><input type="file" name="file" id="file1" /><input type="submit" value="@AuditResources.UI.Import" /><span class="error clear">@ViewBag.ImportError</span>
    @Html.RouteLink("下载导入文件模板", "Default", new { controller = "DownloadManager", action = "GetTemplateFile", filename = "pw_sample.xls" }, new { Class = "button" })
}

<!--search-->
<div class="padding_panel">
@using(Html.BeginForm("Archives"))
{
    @AuditResources.Subject.ObjectName<text>:</text> @Html.DropDownList("SubjectId",AuditResources.UI.All) <text>&nbsp;</text>
     <input type="submit" value="@AuditResources.UI.Search" /> 
}
</div>
@Html.Partial("_ExpertJudgeGrid", Model)
<div class="padding_panel">
@Html.ActionLink("导出Excel", "ExportToExcel.xls", null, new { @class = "button" })
</div>


